//
//  TKYRefreshFooter.m
//  SegmentManage
//
//  Created by apple on 2017/10/31.
//  Copyright © 2017年 铁科院. All rights reserved.
//

#import "TKYRefreshFooter.h"

@implementation TKYRefreshFooter
- (void)prepare
{
    [super prepare];
    
    self.stateLabel.textColor = [UIColor grayColor];
    
    [self setTitle:@"没有数据啦,不要再上拉了" forState:MJRefreshStateNoMoreData];
    
    // 刷新控件出现一半就会进入刷新状态
    self.triggerAutomaticallyRefreshPercent = 0.5;
    
    // 不要自动刷新
    self.automaticallyRefresh = YES;
}


@end
